package com.todaynews.utils;

import java.util.List;

public class ListUtils {

    private final static ListUtils instance = new ListUtils();

    /**
     * 单例对象实例
     */
    public static ListUtils getInstance(){
        return instance;
    }

    public boolean isEmpty(List list){
        if (list == null){
            return true;
        }
        return list.size() == 0;
    }
}
